package com.example.service.webhook.business.qq.entity;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.Date;

/**
 * Created by zouwanli on 16/5/16.
 */
@JsonIgnoreProperties(value = { "primaryVal", "keyColumns", "tableName" }, ignoreUnknown = true)
public class QQGroupMemberEntity  implements Saveable {

    private long id;
    private String userId;
    private String qqNum;
    private String groupId;
    private String groupName;
    private String groupMemberNum;
    private String groupMemberNickName;
    private int    gender;
    private long uuid;

    private Date   createTime;
	private Date lastModifyTime;
    
    private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_qq_groupmember";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }
    
    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }

   

    public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

    public String getQqNum() {
        return qqNum;
    }

    public void setQqNum(String qqNum) {
        this.qqNum = qqNum;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getGroupMemberNum() {
        return groupMemberNum;
    }

    public void setGroupMemberNum(String groupMemberNum) {
        this.groupMemberNum = groupMemberNum;
    }

    public String getGroupMemberNickName() {
        return groupMemberNickName;
    }

    public void setGroupMemberNickName(String groupMemberNickName) {
        this.groupMemberNickName = groupMemberNickName;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

    public long getUuid() {
        return uuid;
    }

    public void setUuid(long uuid) {
        this.uuid = uuid;
    }
}
